/**
 * 
 */
package swt.commons;

import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;

import com.swtdesigner.SWTResourceManager;

/**
 * @author thuctt
 *
 */
public class Const {
	
	private static final String IMAGE_PATH = "images/";

	public static final Color COLOR_BASE_BGR = SWTResourceManager.getColor(234, 234, 234);
	
	public static final Color COLOR_TEXT_MUST_INPUT = SWTResourceManager.getColor(255, 255, 170);
	
	/**
	 * COLOR_BGR_LABEL = [204, 230, 255]
	 */
	public static final Color COLOR_BGR_LABEL = SWTResourceManager.getColor(232, 255, 251);
	
	public static final Font FONT_BASE = SWTResourceManager.getFont("Microsoft Sans Serif", 10, SWT.NONE);
	
	public static final String resourceDir = "conf/";
	
	public static final String resourceFile = "resources.properties";
	
	public static final String ICON_FILE = IMAGE_PATH + "icon.gif";
	
	/**
	 * HALF_SPACE
	 */
	public static final String HALF_SPACE = " ";
	
	/**
	 * FULL_SPACE
	 */
	public static final String FULL_SPACE = "�@";
	
	/**
	 * DOUBLE_QUOTATION = '"'
	 */
	public static final String DOUBLE_QUOTATION = "\"";
	
	/**
	 * COMMA
	 */
	public static final String COMMA = ",";
	
	/**
	 * SEMI_COLON
	 */
	public static final String SEMI_COLON = ";";
	
	/**
	 * DOT = "."
	 */
	public static final String DOT = ".";
	
	/**
	 * SETUP_PASS = 1
	 */
	public static final int SETUP_PASS = 1;
	
	/**
	 * CHECK_PASS = 2
	 */
	public static final int CHECK_PASS = 2;
	
	/**
	 * EDIT_PASS = 3
	 */
	public static final int EDIT_PASS = 3;

	/**
	 * DATE_SEPARATOR = "."
	 */
	public static final String DATE_SEPARATOR = ".";
	
	/**
	 * DATE_FORMAT = "dd.MM.yyyy"
	 */
	public static final String DATE_FORMAT = "dd" + DATE_SEPARATOR + "MM" + DATE_SEPARATOR + "yyyy";
	
	/**
	 * DATE_FORMAT = "ddMMyy"
	 */
	public static final String DATE_FORMAT_DDMMYY = "ddMMyy";
	
	/**
	 * DATE_FORMAT = "ddMMyyyy"
	 */
	public static final String DATE_FORMAT_DDMMYYYY = "ddMMyyyy";
	
	/**
	 * TIME_FORMAT_24 = "HH:mm:ss"
	 */
	public static final String TIME_FORMAT_24 = "HH:mm:ss";
	
	/**
	 * TIME_FORMAT_12 = "hh:mm:ss a"
	 */
	public static final String TIME_FORMAT_12 = "hh:mm:ss a";

	/**
	 * COLON = ":"
	 */
	public static final String COLON = ":";
	
	/**
	 * KEY_PASSWORD = "password"
	 */
	public static final String KEY_PASSWORD = "password";
	
	/**
	 * KEY_FIRST_USE = "first_time_use"
	 */
	public static final String KEY_FIRST_USE = "first_time_use";
	
	/**
	 * KEY_LANGUAGE = "language"
	 */
	public static final String KEY_LANGUAGE = "language";
	
	/**
	 * LANGUAGE_EN = "EN"
	 */
	public static final String LANGUAGE_EN = "EN";
	
	/**
	 * LANGUAGE_VN = "VN"
	 */
	public static final String LANGUAGE_VN = "VN";
	
	/**
	 * LANGUAGE_ALL = "EN|VN"
	 */
	public static final String LANGUAGE_ALL = LANGUAGE_EN + "|" + LANGUAGE_VN;
}
